package com.xydpeng.rpc.springboot.annotation;

import com.xydpeng.rpc.springboot.config.consumer.RpcConsumerAutoConfiguration;
import com.xydpeng.rpc.springboot.config.provider.RpcProviderAutoConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author xydpeng
 * @version v1.0
 * @date: 2023/4/8
 * @description:
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import({RpcProviderAutoConfiguration.class, RpcConsumerAutoConfiguration.class})
public @interface EnableRpc {


}
